﻿#pragma once
#include "pch.h"
#include "libsvg\svgobjtype.h"

/*
All svg ojbects are based on CSvgObject
*/
class CSvgObject
{
public:
	CSvgObject();

	////virtual is vip
	virtual ~CSvgObject() = 0;

public:
	// 对象类型
	CString objectSvgType;
	
public: //for common attributes of svg object
	//透明度
	float opacity;

	//显示比例
	double scale;

public: // for editing
	//是否选中
	bool isSelected;

public:
	virtual CString toString(void) = 0;
};

